
package com.google.code.gestion_de_conferences;

public class User {
        
        //private variables
        
    private int _id;
    private String email;
    private String password;
    private String full_name;
    private String company;
    private String phone_number;
    private String is_admin;
        
    
    /**
     * Constructor
     */
    public User ()
    {
        super();
    }
        
    /**
         * Constructor that will be used when initiating the user of the application
         * @author <hyame.alameddine@gmail.com>
         * 
         * @param id
         * @param email
         * @param password
         * @param full_name
         * @param company
         * @param phone_number
         * @param is_admin
         * 
         * @return
         */
    public User(int id, String email, String password,String full_name,String company,String phone_number,String is_admin)
    {           
        this._id = id;
        this.email = email;
        this.password = password;
        this.full_name = full_name ;
        this.company = company;
        this.phone_number = phone_number;
        this.is_admin = is_admin;
    }
 

   
    /**
     * Getter function for the id attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * @return
     */
    public int getID(){
        
        return this._id;
    }
 
    /**
     * Setter function for the id attribute
     *
     * @author <hyame.alameddine@gmail.com>
     * @param id
     */
    public void setID(int id)
    {           
        this._id = id;
    }
 
    /**
     * Getter function for the email attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     */
    public String getEmail()
    {           
        return this.email;
    }
 
    /**
     * Setter function for the email attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @param username
     */
    public void setEmail(String email)
    {           
        this.email = email;
    }
 
    /**
     * Getter function for the password attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @return
     */
    public String getPassword()
    {           
        return this.password;
    }
 
    /**
     * Setter function for the password attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @param password
     */
    public void setPassword(String password)
    {           
        this.password = password;
    }
    
    /**
     * Getter function for the full_name attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @return
     */
    public String getFullName()
    {           
        return this.full_name;
    }
 
    /**
     * Setter function for the full_name attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @param password
     */
    public void setFullName(String full_name)
    {           
        this.full_name = full_name;
    }
    
    /**
     * Getter function for the company attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @return
     */
    public String getCompany()
    {           
        return this.company;
    }
 
    /**
     * Setter function for the company attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @param password
     */
    public void setCompany(String company)
    {           
        this.company = company;
    }
    /**
     * Getter function for the phone_number attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @return
     */
    public String getPhoneNumber()
    {           
        return this.phone_number;
    }
 
    /**
     * Setter function for the phone_number attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * 
     * @param phone_number
     */
    public void setPhoneNumber(String phone_number)
    {           
        this.phone_number = phone_number;
    }
    
    /**
     * Getter function for the is_admin attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * @author Rayan Zahab: Changed the return to String 1-0
     * @return
     */
    public String getIsAdmin()
    {           
        return this.is_admin;
    }
 
    /**
     * Setter function for the is_admin attribute
     * 
     * @author <hyame.alameddine@gmail.com>
     * @author Rayan Zahab: Changed the return to String 1-0
     * @param is_admin
     */
    public void setIsAdmin(String is_admin)
    {
    	this.is_admin = is_admin;
    }

    
  

}